package com.lsu.memento.experiment;

/**
 * 状态:这里指坐标
 *
 * @Author wang suo
 * @Date 2021/1/4 0004 22:06
 * @Version 1.0
 */
public class State {
    /**
     * X轴坐标
     */
    private Integer x;
    /**
     * Y轴坐标
     */
    private Integer y;

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public State(Integer x, Integer y) {
        this.x = x;
        this.y = y;
    }

    @Override
    public String toString() {
        return "State{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
